home *** CD-ROM | disk | FTP | other *** search
-
- xThe Code Generator / Linker
-
-
- The Code Generator takes sequential ABC-code as input (an .abc file) and
-
- produces an object file (a .obj file) in the Clean System Files folder. The
-
- linker links all .obj files of the project together and builds a Mac
-
- application.
-
-
-
- By default, the Code Generator generates code for the machine that you
-
- are working on (Current Processor). If you want to generate code for
-
- another machine, check one of the other options. One has to decide on
-
- which class of machines the applications should run (68000/Mac+ or
-
- higher, 68020 or higher). The 68020 option will produce much better
-
- code, but the application will not run on a Mac+. See Code Generator… in
-
- the Options menu.
-
-
- If you are not certain about the space consumption of your application
-
- generate code to perform boundary checks. This will slow down the speed
-
- of the application.
-
-
- Heap and stack space must be allocated to the application. Also other
-
- options can be set (see Application… in the Options menu). This setting can
-
- take place before or after the application is created. The current project
-
- name (see Execute in the Commands menu) determines of which
-
- application the options will be set. On demand, the Code Generator can
-
- produce assembly files. To produce the assembly code choose Generate
-
- Assembly in the Commands menu.
-
-
- The linking phase requires a lot of memory, especially when the I/O
-
- libraries have to be linked with a project. When the linker cannot allocate
-
- the memory it needs inside the Clean 1.2 application it tries to allocate
-
- free memory outside the application. On a Mac with little free memory
-
- outside the Clean 1.2 application the linker therefore might get out of
-
- memory. Closing windows and quitting other applications might help.
-
-
-
-
-